﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

// NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IFoodOrderService" in both code and config file together.
[ServiceContract]
public interface IFoodOrderService
{

    [OperationContract]
    FoodOrderVO getFoodOrderByID(int id);

    [OperationContract]
    bool addFoodOrder(int orderId, int bookingId, string itemsOrdered, decimal price);
    [OperationContract]
    bool deleteFoodOrder(int id);



}

[DataContract]
public class FoodOrderVO{
        
    

    [DataMember]
    public int _OrderID;
    [DataMember]
    public int _BookingID;
    [DataMember]
    public string _ItemsOrdered;
    [DataMember]
    public decimal _Price;
        
     
}
